/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.gmu.javalution.crowd;

/**
 *
 * @author jason.handuber
 */
public class DoubleArrayDistanceProvider implements IProvideDistance<double[]>
{

    public double distance(double[] a, double[] b, int index)
    {
        return Math.abs(a[index] - b[index]);
    }

}
